package com.jy.api.wechat.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


@Configuration
public class WxGzh1Config extends WxConfig {
    @Value("${wechat.token}")
    private String token;

    @Value("${wechat.appId}")
    private String appid;

    @Value("${wechat.secret}")
    private String appsecret;

    @Value("${wechat.aeskey}")
    private String aesKey;

    @Override
    public String getToken() {
        return this.token;
    }

    @Override
    public String getAppid() {
        return this.appid;
    }

    @Override
    public String getAppsecret() {
        return this.appsecret;
    }

    @Override
    public String getAesKey() {
        return this.aesKey;
    }

    @Override
    public WxAccountEnum getWxAccountEnum() {
        return WxAccountEnum.GZH1;
    }

}
